package com.cosina.game.robodefence.ui;

import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.Cap;
import android.graphics.Paint.Style;

public class PaintSuite {
	public static Paint p4Text = new Paint();
	static {
		p4Text.setColor(Color.WHITE);
		p4Text.setAntiAlias(true);
		p4Text.setStrokeWidth(2);
		p4Text.setTextSize(16);
	}
	
	public static Paint p4Good = new Paint();
	static {
		p4Good.setColor(Color.WHITE);
		p4Good.setStrokeCap(Cap.ROUND);
		p4Good.setStyle(Style.STROKE);
		p4Good.setAntiAlias(true);
		p4Good.setStrokeWidth(2);
		p4Good.setTextSize(14);
	}
	
	public static Paint p4Bg = new Paint();
	static {
		p4Bg.setColor(Color.BLACK);
		p4Bg.setStrokeCap(Cap.ROUND);
		p4Bg.setAntiAlias(true);
		p4Bg.setAlpha(160);
	}
	
	public static int[] alphaDefault = {p4Text.getAlpha(), p4Good.getAlpha(), p4Bg.getAlpha()}; 
	
	public static int[] alphaTranparent = {140, 140, 140};
	
	public static void setAlpha(int[] alphas){
		p4Text.setAlpha(alphas[0]);
		p4Good.setAlpha(alphas[1]);
		p4Bg.setAlpha(alphas[2]);
	}
}
